import request from '@/utils/http.js'

//上传文件
export const upload = params => request('get','api/common/upload',params)

//获取平台信息
export const platformInfo = params => request('get','api/common/platformInfo',params)

//支付接口
export const wxpayInfo = params => request('post','api/wxpay/wxpayInfo',params)

//获取微信openid
export const getWxOpenId = params => request('get','api/common/getWxOpenId',params)